<template>
    <!-- 视频 Video vid brief view of Monitor -->
    <div class="brief-view-content" @click="focus">
        <div class="brief-view-title">全景监控</div>
    </div>
</template>

<script>
    import {IdxMainLayout} from "@/store/enums/StoreEnums";

    export default {
        name: "BriefViewVideo",
        props: {
            viewTag: String
        },
        methods: {
            focus() {
                this.$store.dispatch("main/" + IdxMainLayout.Actions.FOCUS, this.viewTag)
                this.$router.push({name: "main-monitor-video-page"})
            }
        }
    }
</script>

<style lang="scss" scoped>
    .brief-view-content {
        cursor: pointer;
    }
</style>